package cn.jingyuan.owl.web.oauth2.client;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

@ConfigurationProperties(prefix = "swan.oauth2")
public class DefaultOAuth2ClientProperties {

    private Map<String, DefaultOAuth2ClientDetails> provider;

    public DefaultOAuth2ClientProperties() { }

    public DefaultOAuth2ClientProperties(Map<String, DefaultOAuth2ClientDetails> provider) {
        this.provider = provider;
    }

    public Map<String, DefaultOAuth2ClientDetails> getProvider() {
        return provider;
    }

    public void setProvider(Map<String, DefaultOAuth2ClientDetails> provider) {
        this.provider = provider;
    }

}
